package PVZ;

import com.sun.javafx.scene.control.skin.DoubleFieldSkin;

import javax.swing.*;

public class BucketheadZombie extends Senobject{
    protected double speed;
    BucketheadZombie(){
        super(166,144,3);
        speed = 0.5; }

    @Override
    public ImageIcon getImage() {
        return Images.BucketheadZombie;
    }
    public void step(){
        x-=speed;
    }
    public void loseLife(){
        life--;
    }

}
